package com.tms.springboot.view;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/*
车辆基本信息视图类
 */
@Data
public class PdTruckBasicsView implements Serializable {

    //车辆表

    private String licensePlate;

    private String status;

    //组织表
    private String coreOrgName;

    //车队表
    private String fleetName;

    //车辆类型
    private String TypeName;

    private BigDecimal allowableLoad;

    private BigDecimal allowableVolume;

    //车次表
    private String tripsId;

    private String tripsStatus;

    //所属线路表
    private String lineName;

    //车辆行驶证表
    /**
     * id
     */
    @TableId("id")
    private String id;

    /**
     * 车辆id
     */
    @TableField("truck_id")
    private String truckId;

    /**
     * 发动机编号
     */
    @TableField("engine_number")
    private String engineNumber;

    /**
     * 注册时间
     */
    @TableField("registration_date")
    private LocalDate registrationDate;

    /**
     * 国家强制报废日期
     */
    @TableField("mandatory_scrap")
    private LocalDate mandatoryScrap;

    /**
     * 检验有效期
     */
    @TableField("expiration_date")
    private LocalDate expirationDate;

    /**
     * 整备质量
     */
    @TableField("overall_quality")
    private BigDecimal overallQuality;

    /**
     * 核定载质量
     */
    @TableField("allowable_weight")
    private BigDecimal allowableWeight;

    /**
     * 外廓尺寸
     */
    @TableField("outside_dimensions")
    private String outsideDimensions;

    /**
     * 行驶证有效期
     */
    @TableField("validity_period")
    private LocalDate validityPeriod;

    /**
     * 道路运输证号
     */
    @TableField("transport_certificate_number")
    private String transportCertificateNumber;

    /**
     * 图片信息
     */
    @TableField("picture")
    private String picture;

    //货物表
    private Float defaultVolume;

    private Float defaultWeight;

    //车次表
    private String tripsName;

}
